<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>FacesBaby</title>
<script type="text/javascript" src="/Public/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/Public/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/Public/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="/theme/default/css/common.css">
<link rel="stylesheet" href="/theme/default/css/facesbaby-theme.css">
<style type="text/css">
body, .S_txt1, .S_func1, .SW_fun .S_func1, .SW_fun2 .S_func3, .current .S_func1:hover, .W_btn_b span, .W_btn_c span, .W_btn_e span, .W_btn_f span, .W_btn_round span, .W_btn_round2 span, .W_btn_round_ico span, .W_btn_arrow span {
color: #333;
text-decoration: none;
}
.fb_container{
background-repeat: no-repeat;
background-position: center 0;
padding-top: 20px;
background-image: url("/theme/default/images/body_bg.jpg");
}
.fb_container{
min-width:980px;	
}
.fb_main {
background-image: url("/theme/default/images/repeat_bg_y.png?id=1348554801578");
background-repeat: repeat-y;
}
.fb_main {
margin: 0 auto;
width: 980px;
}
.fb_main_l{
float: left;
width: 150px;
overflow: hidden;
padding:12px 0 30px;
}
#plc_main{float:left}
.fb_main_a{float:left;width:830px;overflow:hidden}
.fb_main_c{float:left;width:600px; overflow:hidden;min-height:800px;}
.fb_main_c{padding:28px 0 50px}
.fb_main_r{float:right;width:230px;overflow:hidden;}

.nav-list li{
	line-height:28px;
}

</style>

</head>

<body>
<include file="./template/default/Public/nav.html" />
<div class="fb_container">
<div class="fb_main">
    <div class="clearfix">
    	<div class="fb_main_l">
        	<div class="fb_left_nav">
            	<ul class="nav nav-list">
                  <li class="active">
                    <a href="#"><i class="icon-home icon-white"></i>首页</a>
                  </li>
                  <li>
                    <a href="#"><i class="icon-book"></i>知识库</a>
                  </li>
                </ul>
            </div><!--end fb_left_nav-->
        </div>
        <style type="text/css">
.group_topic{margin:0 20px 6px 20px;clear:both;position:relative}
.group_topic .sort{
margin: 0 0 10px 0px;
}		
		.group_topic .sort, .group_topic .title {
background: url("/theme/default/images/line_tab.png") repeat-x 0 30px;
_background-image: url("/theme/default/images/line_tab.gif");
overflow: hidden;
}
.group_topic .item{float:left}
.group_topic .item.current {
font-weight: bold;
}
.group_topic .item_link {
display: block;
padding: 0 10px;
line-height: 30px;
}
.current .W_tabarrow_big {
display: block;
}
.W_tabarrow_big {
width: 44px;
height: 8px;
margin: -6px auto 0;
background-image: url("/theme/default/images/line_tab.png");
_background-image: url("/theme/default/images/line_tab.gif");
background-position: 0 -67px;
font-size: 0;
}

.title-date {
font-size: 18px;
line-height: 24px;
font-family: Arial, Helvetica, sans-serif;
color: #777;
position: relative;
margin-bottom: 5px;
}
.fb_feed_datail {
border-bottom-width: 1px;
border-bottom-style: solid;
padding: 0 0 11px;
overflow: hidden;
}

#fb_feed{
margin: -1px 20px 0;
padding: 21px 0 0;
overflow:hidden;
}
.fb_feed_detail .fb_face {
float: left;
width: 50px;
}
.fb_face .fb_face_radius {
height: 50px;
}
.fb_face_radius {
border-radius: 2px;
}

.fb_detai{margin-left: 65px;}
.S_line2 {
border-color: #E6E6E6;
}
		</style>
        <div id="plc_main">
        	<div class="fb_main_a">
            	<div class="fb_main_c">
               <div id="fb_content_homeFeed">
               <div class="group_topic clearfix">
               	<ul class="sort">
                	<li class="item current">
                    	<a class="item_link S_func1" href="javascript:void(0)">最近更新</a>
                        <div class="W_tabarrow_big S_bg4" node-type="bg"></div>
                    </li>
                </ul>
               </div>
               
               <!--navbar title-->
                <div id="fb_feed">
                
                	<div class="fb_feed_detail">
                    	<div class="fb_face">
                        	<a class="fb_face_radius" href="/meng000" title="兒_檬檬檬"><img usercard="id=1824121861" title="兒_檬檬檬" alt="" width="50" height="50" src="http://tp2.sinaimg.cn/1824121861/50/5645546725/0"></a>
                        </div><!--fb_face-->
                        <div class="fb_detail">
                        	<div class="title-date">2012/10/20</div>
                        </div>
                        <!--fb_detail-->
                    </div>
                    
                    
                </div>
                
                
                </div><!--fb_content_homeFeed-->
                
                </div>
                <div class="fb_main_r">
                <style type="text/css">
				.m_user_path .m_thumb {
float: left;
}
.m_user_path .user_info {
padding-left: 62px;
}
.m_thumb a {
border: 1px solid #D8D8D8;
background: white;
display: inline-block;
}
.m_count {margin:10px 20px;}
.m_count .user_name {
width: 137px;
}
.m_user_path .user_info .user_name {
height: 20px;
white-space: nowrap;
overflow: hidden;
}
a.M_linkd, .M_linkd a {
color: #222;
}
.m_count .static_num {
margin-top: 5px;
overflow: hidden;
}
.m_count .static_num dl {
float: left;
text-align: center;
}
.m_count .static_num dl {
width: 63px;
height: 40px;
}
.m_count .static_num dt {
font-family: "Constantia",Georgia;
font-size: 24px;
line-height: 25px;
padding-bottom: 3px;
font-weight: 700;
}
.m_count .static_num dt {
line-height: 18px;
padding: 0 0 6px 0;
}
a.M_linkb, .M_linkb a {
color: #555;
}
.M_dotted_y, .M_dotted_x {
background: url(/theme/default//images/dotted.gif) repeat-y 0 0;
}

				</style>
                <?php
                foreach($_SESSION['session_fb'] as $k=>$v){
                $bb_realname=$v['baby_realname'];
                $baby_id=$v['baby_id'];
                $baby_borndate = date("Y-m-d",$v['baby_borndate']);
                $baby_icon=$v['baby_icon'];
                ?>
                <div class="m_count clearfix">
                
            <div class="m_user_path" node-type="user_info"><div class="m_thumb m_thumb_b">                        <a title="<?php echo $bb_realname;?>" href="/index.php?s=/Home/Baby/setting/BB/<?php echo $baby_id;?>"><img src="<?php echo $baby_icon;?>" width="50" height="50"></a>                    </div>                <div class="user_info">                    <div class="user_name M_txtc" title="<?php echo $bb_realname;?>">                    <a title="<?php echo $bb_realname;?>" class="M_linkd name" href="http://photo.weibo.com/1923982693/albums/"><?php echo $bb_realname;?></a>                      <span node-type="follow_status" follow="undefined"></span>                  </div>                  <div class="to_column">                      <a href="/index.php?s=/Home/Baby/Calendar/BB/<?php echo $baby_id;?>">成长日历»</a>                  </div>                </div></div>
            <div class="clearfix" style="text-align:center">
            <br>
            出生：<?php echo $baby_borndate;?>
            <br>
            <?php
            
            $born_week=format($baby_borndate,date('Y-m-d',time()));
            ?>
            你的宝宝<?php echo $born_week['monthly'];?>个月第<?php echo $born_week['weekly'];?>周<?php echo $born_week['daily'];?>天
            </div>
            <div class="static_num clearfix" node-type="user_count"><dl>                        <dt><a action-type="size" href="javascript:alert('稍后添加!');">0</a></dt>                        <dd><a href="javascript:alert('稍后添加!')" class="M_linkb">照片</a></dd>                    </dl>                    <dl class="M_dotted_y">                        <dt><a action-type="size" href="javascript:alert('浏览哪些人喜欢哪些相片!功能稍后添加!');">1</a></dt>                        <dd><a href="javascript:alert('浏览哪些人喜欢哪些相片!功能稍后添加!');" class="M_linkb">喜欢</a></dd>                    </dl>                    </div>
        <a href="/index.php?s=/Home/Albums/upload" class="btn btn-large">上传相片</a>
        
        
        
        </div><!--m_count-->
        <?php
        
        }
        ?>
        
        
                
                </div>
            </div><!--end fb_main_a-->
        </div>
    
    </div>
</div>

    </div><!--end fb_container-->
    
    
    
<include file="./template/default/Public/footer.html" />   
    
</body>
</html>